.bg_size {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#index2 {
  opacity: 0;
}
#index2 .main {
  margin-top: 0.2rem;
  position: relative;
  z-index: 2;
}
#index2 .main .mian_bg {
  width: 7.5rem;
  height: 10.18rem;
  background: url(../img/index2/组%2022.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#index2 .main .denglong_left {
  width: 1.6rem;
  height: 5.1rem;
  background: url(../img/index2/灯笼左.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 1.1rem;
  left: 0.8rem;
  transform-origin: right top;
  animation: denglong 3s alternate linear infinite;
}
#index2 .main .denglong_right {
  width: 1.77rem;
  height: 5.65rem;
  background: url(../img/index2/灯笼右.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 3.2rem;
  right: 0.8rem;
  transform-origin: left top;
  animation: denglong 3s alternate linear infinite;
}
@keyframes denglong {
  0% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(5deg);
  }
}
#index2 .btn {
  width: 4.35rem;
  height: 2.02rem;
  position: absolute;
  background: url(../img/index2/我要猜灯谜.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  bottom: 8%;
  left: -81%;
  transition: left 2s;
  z-index: 2;
}
#index2 .baozhu {
  width: 1.14rem;
  height: 1.77rem;
  background: url(../img/baozhu2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 2.3rem;
  right: 0.6rem;
  animation: bz 0.5s infinite alternate;
}
#index2 .bottom {
  width: 7.5rem;
  height: 2.71rem;
  background: url(../img/index2/bottom.png);
  background-position: 0 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
}
#index2 .yanhua1 {
  top: 0;
  left: 0rem;
}
#index2 .yanhua2 {
  top: 0;
  left: 1.2rem;
}
#index2 .yanhua3 {
  width: 2.07rem;
  height: 1.78rem;
  top: 5rem;
  left: 7rem;
}
#index2 .yanhua5 {
  width: 2.07rem;
  height: 1.78rem;
  top: 7rem;
  left: 5.6rem;
}
